package sis.util;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-07-30 10:12
 * @notify
 * @version 1.0
 */

import java.io.File;

public class IOUtil {
    //给定文件文件名,删除文件
    public static boolean delete(String... filenams) {
        boolean deletedAll = true;
        for (String filename : filenams) {
            if (!new File(filename).delete()) {
                deletedAll = false;
            }
        }
        return deletedAll;
    }
}
